[INFO] cloning repository https://github.com/Eson-Jia/rust-play-ground
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eson-Jia/rust-play-ground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEson-Jia%2Frust-play-ground", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEson-Jia%2Frust-play-ground'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd185b73c3e92aa42d4c73412360dff9e16f1e7c
[INFO] checking Eson-Jia/rust-play-ground against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEson-Jia%2Frust-play-ground" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Eson-Jia/rust-play-ground on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Eson-Jia/rust-play-ground
[INFO] finished tweaking git repo https://github.com/Eson-Jia/rust-play-ground
[INFO] tweaked toml for git repo https://github.com/Eson-Jia/rust-play-ground written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Eson-Jia/rust-play-ground already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7ba74a57aaf2e7dde343df8a3562864bfc03bbfe2311e2812529a5db32a3533b
[INFO] running `Command { std: "docker" "start" "-a" "7ba74a57aaf2e7dde343df8a3562864bfc03bbfe2311e2812529a5db32a3533b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ba74a57aaf2e7dde343df8a3562864bfc03bbfe2311e2812529a5db32a3533b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ba74a57aaf2e7dde343df8a3562864bfc03bbfe2311e2812529a5db32a3533b", kill_on_drop: false }`
[INFO] [stdout] 7ba74a57aaf2e7dde343df8a3562864bfc03bbfe2311e2812529a5db32a3533b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42d21bad939b4d1b4fb9d526d6dde8650121204c4a000bfa870019f3e9e8e7c3
[INFO] running `Command { std: "docker" "start" "-a" "42d21bad939b4d1b4fb9d526d6dde8650121204c4a000bfa870019f3e9e8e7c3", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking play-ground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `other_error`
[INFO] [stdout]   --> src/bin/match_result.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |              other_error =>panic!(""),
[INFO] [stdout]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/match_result.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     f.write(b"hello,world");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = f.write(b"hello,world");
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/match_result.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     f.read_to_string( & mut buff);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let _ = f.read_to_string( & mut buff);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/bin/functions.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn test(){
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/bin/vector.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/bin/vector.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v = vec![123,12];
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/bin/vector.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let first = v[0];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]   --> src/bin/vector.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let second  = v.get(1);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exist`
[INFO] [stdout]   --> src/bin/vector.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let does_not_exist  = v[100];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exist`
[INFO] [stdout]   --> src/bin/vector.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let does_not_exist= v.get(100);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/bin/vector.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/bin/vector.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v = vec![123,12];
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/bin/vector.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let first = v[0];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]   --> src/bin/vector.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let second  = v.get(1);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exist`
[INFO] [stdout]   --> src/bin/vector.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let does_not_exist  = v[100];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exist`
[INFO] [stdout]   --> src/bin/vector.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let does_not_exist= v.get(100);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/vector.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut v = vec![1,2,3,4,5];
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/bin/vector.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let first =  &v[0];
[INFO] [stdout]    |                   - immutable borrow occurs here
[INFO] [stdout] 26 |     v.push(6);
[INFO] [stdout]    |     ^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 27 |     println!("the first element is :{}",first);
[INFO] [stdout]    |                                         ----- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `play-ground` (bin "vector") due to 2 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/vector.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut v = vec![1,2,3,4,5];
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/bin/vector.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let first =  &v[0];
[INFO] [stdout]    |                   - immutable borrow occurs here
[INFO] [stdout] 26 |     v.push(6);
[INFO] [stdout]    |     ^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 27 |     println!("the first element is :{}",first);
[INFO] [stdout]    |                                         ----- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `play-ground` (bin "vector" test) due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "42d21bad939b4d1b4fb9d526d6dde8650121204c4a000bfa870019f3e9e8e7c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42d21bad939b4d1b4fb9d526d6dde8650121204c4a000bfa870019f3e9e8e7c3", kill_on_drop: false }`
[INFO] [stdout] 42d21bad939b4d1b4fb9d526d6dde8650121204c4a000bfa870019f3e9e8e7c3
